<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html lang="en-US" xml:lang="en-US" xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <title>Agent 24</title>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <meta http-equiv="X-UA-Compatible" content="IE=7" />
        <link rel="shortcut icon" href="#" type="image/x-icon" />
        <meta name="keywords" content="" />
        <meta name="description" content="" />
        <meta name="author" content="" />
        <meta name="robots" content="index,follow" />
        <link href="<?php echo CSSPATH; ?>default.css" rel="stylesheet" type="text/css" />
        <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js"></script>
        <script src="<?php echo JSPATH; ?>scripts.js" type="text/javascript"></script>
        <script src="<?php echo JSPATH; ?>background-change.js" type="text/javascript"></script>
    </head>
    <body>
        <!-- background change -->
        <div id="ac_background" class="ac_background">
            <img class="ac_bgimage" src="<?php echo FILEPATH . '/bg/'; if (!empty($multimedia)) { if (count($multimedia) > 1) { $index = array_rand($multimedia); echo $multimedia[$index]['url']; } else { echo $multimedia[0]['url']; } } else { echo "/1.jpg"; } ?>" alt="Background"/>
            <div class="ac_overlay"></div>
            <div class="ac_loading"></div>
        </div>
        <!-- end background change -->

        <ul class="ac_menu">
            <?php
                if (!empty($multimedia)) {
                    foreach ($multimedia as $key => $image) {
            ?>
                        <li><a href="<?php echo FILEPATH . '/bg/' . $image['url'] ?>"></a></li>
            <?php
                    }
                } else {
            ?>
                    <li><a href="<?php echo FILEPATH . '/bg/1.jpg' ?>"></a></li>
            <?php
                }
            ?>
        </ul>

        <a class="logo" href="/">
            <img width="210" height="40" src="<?php echo IMAGEPATH . "logo.png" ?>" alt="agent24" />
        </a>

        <div class="footer">
            <ul>
                <li>Copyright 2011. &copy; Agent 24</li>
            </ul>
        </div>

        <ul class="imageRotate">
            <li><a href="#" class="left"></a></li>
            <li><a href="#" class="right"></a></li>
        </ul>
        <div class="page">
            <div class="newsletter">
                <table cellpadding="0" cellspacing="0" width="100%">
                    <thead>
                        <tr>
                            <th colspan="2">
                                <a href="<?php echo site_url() . "/features/newsletters" ?>">&laquo; BACK</a>
                                <h1><?php echo $newsletter['name'] ?></h1>  
                            </th>
                        </tr>
                    </thead>
                    <tbody
                        <tr>
                            <td width="250"> <img width="250" height="195" src="<?php echo FILEPATH . '/newsletter/' . $newsletter['cover']; ?>" alt="<?php echo $newsletter['name'] ?>"/></td>
                            <td>
                                <?php echo $newsletter['content'] ?>
                            </td>
                        </tr>
                    </tbody>
                    <tfoot>
                        <tr>
                            <td colspan="2">
                                <h4>AGENT24 PERSONAL CONCIERGE SERVICE OGM</h4>
                                <p>OOSLACKENGASSE 17 | 1190 VIENNA, AUSTRIA</p>
                                <p>T. +43 230 603 235 | F. +43 230 603 237 | OFFICE@AGENT24.CO.AT | WWW.AGENT24.CO.AT</p>
                            </td>
                        </tr>
                    </tfoot>
                </table>
        </div>
    </body>
</html>